﻿<%@page language="java" import="java.util.*,com.knife.blog.domain.BlogUser,com.knife.blog.logic.impl.BlogUserServiceImpl" pageEncoding="UTF-8"%><%
String userName="";
if(request.getParameter("username")!=null){
	userName = request.getParameter("username");
	BlogUser theUser = new BlogUserServiceImpl().getBlogUser(userName);
	String lastLoginTime = theUser.getLastlogintime().toString();
	lastLoginTime = lastLoginTime.substring(0,10);
	out.println("document.write(\"" + lastLoginTime + "\");");
}
%>